From: Andreas Schwab Date: Sat, 19 Nov 2011 23:05:41 +0000 (+0100) Subject: * lisp/progmodes/sh-script.el (sh-assignment-regexp): Add entry for X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~1609 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d4f823f3eeba337496080c6271fd8fa3e526d9cc;p=emacs.git * lisp/progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 71e3ab3c770..d435f4977f7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-11-19 Andreas Schwab + + * progmodes/sh-script.el (sh-assignment-regexp): Add entry for + bash. + 2011-11-19 Juri Linkov * info.el (Info-hide-note-references): Add `:set' tag to `defcustom' diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index bca5c93e0a5..62ca2ce085f 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -567,6 +567,7 @@ This is buffer-local in every such buffer.") '((csh . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*[-+*/%^]?=") ;; actually spaces are only supported in let/(( ... )) (ksh88 . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?[ \t]*\\([-+*/%&|~^]\\|<<\\|>>\\)?=") + (bash . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?\\+?=") (rc . "\\<\\([[:alnum:]_*]+\\)[ \t]*=") (sh . "\\<\\([[:alnum:]_]+\\)=")) "Regexp for the variable name and what may follow in an assignment.